/**
 * This component renders a question dialog consisting of
 * question, rating and possible answers. Handles Answer clicks
 * using JSON POST to the backend.
 */
$.Controller( "PresentSuggest", {
  init: function(){
    // uses a view to render question
	var me = this;
	Present.findAll({conversation: this.options.conversation.attr('id')}, function(p) {
		me.options.presents = p;
		me.element.html("js/view/PresentSuggest.ejs", {presents: p});
	});
  }
});